# -*- coding: utf-8 -*-
"""
@Project: Msptest
@Author: 余振新
@File name: 公共.py
@Create time: 2023/7/17 16:50
"""
from selenium.webdriver.common.by import By

下一步 = (By.XPATH, '//span[normalize-space()="下一步"]')

会议总结输入框 = (By.XPATH, '//label[text()="会议总结"]/following-sibling::div/div/textarea')

要点内容总结 = (By.XPATH, '//label[text()="要点内容总结"]/following-sibling::div/div/textarea')

活动费用 = (By.XPATH, '//strong[normalize-space()="活动费用"]')

会议形式_线下 = (By.XPATH, '//label[text()="线下"]')

div = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]')

问题及改进建议_会议时间 = (By.XPATH, '//label[normalize-space()="会议时间"]/span')
问题及改进建议_会议时间_输入框 = (By.XPATH, '//label[normalize-space()="会议时间"]/../../div[2]/div/textarea')

讲师信息_观念传递_填写 = (By.XPATH, '(//span[normalize-space()="填写"])[1]')
讲师信息_观念传递_品牌露出_有 = (By.XPATH, '(//label[normalize-space()="有"])[1]/span')
讲师信息_观念传递_产品关键信息露出_无 = (By.XPATH, '(//label[normalize-space()="无"])[2]/span')
讲师信息_观念传递_对比竞品优势体现_有 = (By.XPATH, '(//label[normalize-space()="有"])[3]/span')
讲师信息_观念传递_保存 = (By.XPATH, '//div[normalize-space()="填写观念传递"]/following-sibling::div[2]/div/button[2]')

会议纪要_上传按钮 = (By.XPATH, '//strong[text()="会议纪要"]/../../following-sibling::div[1]/div/button')
断言_会议纪要_上传成功 = (By.XPATH, '//span[normalize-space()="上传成功"]')

照片上传1 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[3]/div/div')
照片上传2 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[3]/div/div[2]')
照片上传3 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[3]/div/div[3]')
照片上传4 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[3]/div/div[4]')
照片上传5 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[3]/div/div[5]')

视频上传 = (By.XPATH, '//strong[normalize-space()="视频上传"]/../../following-sibling::div[2]/div/div/div/div')

签到表上传 = (By.XPATH, '//strong[normalize-space()="签到表上传"]/../../following-sibling::div[2]/div/div/div/div')

断言_总结页_下一步_保存成功 = (By.XPATH, '//span[normalize-space()="保存成功"]')
断言_总结页_保存成功 = (By.XPATH, '//div[normalize-space()="保存成功"]')
总结页_保存按钮 = (By.XPATH, '(//span[normalize-space()="保存"])[1]')
